package pojo;
import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class Article {

    private Integer id;

    private String uid;

    private String title;

    private Integer userid;

    private String content;

    private String img1;

    private String img2;

    private String img3;

    private String video1;

    private String song1;

    private Integer beclick;

    private Integer bereport;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date releasetime;

    private Integer views;


    private String userheadphoto;


    private String usernickname;


    private String userdescribe;



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getBeclick() {
        return beclick;
    }

    public void setBeclick(Integer beclick) {
        this.beclick = beclick;
    }

    public Integer getBereport() {
        return bereport;
    }

    public void setBereport(Integer bereport) {
        this.bereport = bereport;
    }

    public Integer getViews() {
        return views;
    }

    public void setViews(Integer views) {
        this.views = views;
    }


    public Article() {
    }

    public String getUserheadphoto() {
        return userheadphoto;
    }

    public void setUserheadphoto(String userheadphoto) {
        this.userheadphoto = userheadphoto;
    }

    public String getUsernickname() {
        return usernickname;
    }

    public void setUsernickname(String usernickname) {
        this.usernickname = usernickname;
    }

    public String getUserdescribe() {
        return userdescribe;
    }

    public void setUserdescribe(String userdescribe) {
        this.userdescribe = userdescribe;
    }

    public Article(Integer id, String uid, String title, Integer userid, String content, String img1, String img2, String img3, String video1, String song1, Integer beclick, Integer bereport, Date releasetime, int views) {
        this.id = id;
        this.uid = uid;
        this.title = title;
        this.userid = userid;
        this.content = content;
        this.img1 = img1;
        this.img2 = img2;
        this.img3 = img3;
        this.video1 = video1;
        this.song1 = song1;
        this.beclick = beclick;

        this.bereport = bereport;
        this.releasetime = releasetime;
        this.views = views;
    }


    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }



    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImg1() {
        return img1;
    }

    public void setImg1(String img1) {
        this.img1 = img1;
    }

    public String getImg2() {
        return img2;
    }

    public void setImg2(String img2) {
        this.img2 = img2;
    }

    public String getImg3() {
        return img3;
    }

    public void setImg3(String img3) {
        this.img3 = img3;
    }

    public String getVideo1() {
        return video1;
    }

    public void setVideo1(String video1) {
        this.video1 = video1;
    }

    public String getSong1() {
        return song1;
    }

    public void setSong1(String song1) {
        this.song1 = song1;
    }


    public Date getReleasetime() {
        return releasetime;
    }

    public void setReleasetime(Date releasetime) {
        this.releasetime = releasetime;
    }

    public Article(Integer id, String uid, String title, Integer userid, String content, String img1, String img2, String img3, String video1, String song1, Integer beclick, Integer bereport, Date releasetime, Integer views, String userheadphoto, String usernickname, String userdescribe) {
        this.id = id;
        this.uid = uid;
        this.title = title;
        this.userid = userid;
        this.content = content;
        this.img1 = img1;
        this.img2 = img2;
        this.img3 = img3;
        this.video1 = video1;
        this.song1 = song1;
        this.beclick = beclick;
        this.bereport = bereport;
        this.releasetime = releasetime;
        this.views = views;
        this.userheadphoto = userheadphoto;
        this.usernickname = usernickname;
        this.userdescribe = userdescribe;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", uid='" + uid + '\'' +
                ", title='" + title + '\'' +
                ", userid=" + userid +
                ", content='" + content + '\'' +
                ", img1='" + img1 + '\'' +
                ", img2='" + img2 + '\'' +
                ", img3='" + img3 + '\'' +
                ", video1='" + video1 + '\'' +
                ", song1='" + song1 + '\'' +
                ", beclick=" + beclick +
                ", bereport=" + bereport +
                ", releasetime=" + releasetime +
                ", views=" + views +
                '}';
    }
}

